<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class UserPrizeLogs extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('user_prize_logs',function(Blueprint $table){
              $table->engine= "InnoDB";
              $table->increments('id');
              $table->char('order');
              $table->integer("x_uid");
              $table->integer('prize_id'); // 奖品信息
              $table->integer('rank_id'); //奖品等级
              $table->integer('status'); //奖品等级
              $table->rememberToken();
              $table->timestamps();
              
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
       Schema::drop('user_prize_logs');
    }
}
